﻿<script type="text/javascript" src="/js/gmaps/generation_forms.js"></script>
<body onload="initialize()">  
    <div id="header-inner">
			
    
    <input type="button" onclick="redirectStr('routes/savedroutes');" value="<?php echo $this->translate('Saved routes'); ?>" class="button"/>
    <input id="add" onclick="redirectStr('profile');" type=button value="<?php echo $this->translate('Profile'); ?>" class="button"/>
</div>
 
    

    <div  id="header-inner">  
    <form id="form" name="testform" method="POST" >    
    <strong><label>Start point:</label></strong><br />
    <input id="start" style="width:790px;" type="text"/><br />
  
    <input type="hidden" id="default-id" value="0" />
    <strong><label>End point:</label></strong><br />
    <input id="end" style="width:790px;" type="text"/>
    <div id="waypoint"></div>    
    <input id="add" onclick="addInput();" type=button value="<?php echo $this->translate('Add address'); ?>" class="button"/>
    <input style="margin-left: 400px; " type="button" onclick="sendData();" value="<?php echo $this->translate('Pin to map'); ?>" class="button"/>
    <br /><label>&nbsp;</label>

    </form>

    </div>    

    <br />    
    <div id="map_canvas" style="display: none;"></div><br/>
    <input id="latitude" type="hidden"/>
    <input id="longitude" type="hidden"/>
    <input id="latitudeEnd" type="hidden"/>
    <input id="longitudeEnd" type="hidden"/>       
</body>




